<?php

require_once dirname(__FILE__).'/../lib/gameGeneratorConfiguration.class.php';
require_once dirname(__FILE__).'/../lib/gameGeneratorHelper.class.php';

/**
 * game actions.
 *
 * @package    ingenyo
 * @subpackage game
 * @author     Your name here
 * @version    SVN: $Id: actions.class.php 12474 2008-10-31 10:41:27Z fabien $
 */
class gameActions extends autoGameActions
{
	public function executeAddGame(sfWebRequest $request){

		$this->game = new Game();
	    $this->game->setTournamentId($request->getParameter('tournament_id'));
  
	    $this->form = new GameForm($this->game);

	    $this->setTemplate('new');
	}
}
